home *** CD-ROM | disk | FTP | other *** search
/ Erotic Games: Memory / Erotic Games: Memory.iso / mac / air_installers / AdobeAIR.exe / setup.swf / scripts / mx / events / CloseEvent.as < prev    next >
Text File  |  2009-02-12  |  707b  |  30 lines

  1. package mx.events
  2. {
  3.    import flash.events.Event;
  4.    import mx.core.mx_internal;
  5.    
  6.    use namespace mx_internal;
  7.    
  8.    public class CloseEvent extends Event
  9.    {
  10.       
  11.       mx_internal static const VERSION:String = "3.0.0.0";
  12.       
  13.       public static const CLOSE:String = "close";
  14.        
  15.       
  16.       public var detail:int;
  17.       
  18.       public function CloseEvent(param1:String, param2:Boolean = false, param3:Boolean = false, param4:int = -1)
  19.       {
  20.          super(param1,param2,param3);
  21.          this.detail = param4;
  22.       }
  23.       
  24.       override public function clone() : Event
  25.       {
  26.          return new CloseEvent(type,bubbles,cancelable,detail);
  27.       }
  28.    }
  29. }
  30.